#ifndef _LAME_ENC_WRAPPER_H
#define _LAME_ENC_WRAPPER_H

#include "BladeMP3EncDLL.h"

// helper functions
int initLame();


// lame specific functions
BE_ERR beInitStream( PBE_CONFIG pbeConfig, PDWORD dwSamples, PDWORD dwBufferSize, PHBE_STREAM phbeStream );
BE_ERR beEncodeChunk( HBE_STREAM hbeStream, DWORD nSamples, PSHORT pSamples, PBYTE pOutput, PDWORD pdwOutput );
BE_ERR beDeinitStream( HBE_STREAM hbeStream, PBYTE pOutput, PDWORD pdwOutput );
BE_ERR beCloseStream( HBE_STREAM hbeStream );
VOID beVersion( PBE_VERSION pbeVersion );
VOID beWriteVBRHeader( LPCSTR lpszFileName );

#endif